def findIndex(word, letter):
    n = 0
    cc = set()
    for i in word:
        if i == letter:
            cc.add(word.index(i, n))
        n = n + 1
    return cc

print(findIndex('Hello', 'l'))
